package com.example.commuinte_backed.model.dto;


import lombok.Data;

import javax.validation.constraints.NotBlank;

import java.util.List;
@Data
public class UpdatePostDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */

    private String id;
    /**
     * 标题
     */
    @NotBlank(message = "标题不可以为空")

    private String title;
    /**
     * markdown
     */
    @NotBlank(message = "内容不可以为空")

    private String content;



     private List<String> tags;


}
